Application of graph theory to cost-effective fire protection of chemical plants during domino effects